import { request } from "umi";

// 根据字典类型查询字典数据信息
export async function getType(params: { dictType: string }) {
  return request('/system/dict/data/type/' + params.dictType, {
    method: 'GET',
  });
}